{% extends 'learn_app/base.html' %}
{% block content %}
    <form method="post" action="{% url 'users:register' %}">
    {% csrf_token %}
    {{form.as_p}}
    <button type="submit" class="btn btn-primary">注册</button>
    </form>
{% endblock %}